<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>角色列表</title>
<link href="../style/css_member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/common.js"></script>
<script src="../js/artDialog.js?skin=gray"></script>
<script src="../js/artDialog.iframeTools.js"></script>
<script type="text/javascript" src="../js/jquery-1.3.2.js"></script>
<script type="text/javascript">

$(function(){

	$("a[name='configResc']").click(function(){
		var id = $(this).attr("title");
		art.dialog.open('${ctx}/security/role!rescsByRole.do?id='+id,{title:'配置资源',width:800,height:550,lock:true},false);
    });

	$("a[name='configMenu']").click(function(){
		var id = $(this).attr("title");
		art.dialog.open('${ctx}/security/role!menusByRole.do?id='+id,{title:'配置菜单',width:800,height:550,lock:true},false);
    });

	m2('m1_009','m1_009_01');
	
});

</script>

</head>
<body>
<!-- 页面头部  -->
<jsp:include page="/commons/head_member.jsp"></jsp:include>

<table width="960" border="0" cellpadding="0" cellspacing="0" class="tbl_border" align="center">
	<tr><td style="padding-top: 20px;padding-bottom: 20px;">
		 <table width="900" border="0" cellspacing="0" cellpadding="0" align="center" class="tbl" style="margin: 0 auto;">
			<tr bgcolor="#CDE1ED">
				<td height="35">序号</td>
				<td>角色名称</td>
				<td>角色备注</td>
				<td>操作</td>
			</tr>
			<c:forEach var="role" items="${list}" varStatus="status">
				<tr>
					<td height="30">${status.count }</td>
					<td>${role.name }</td>
					<td>${role.descn }</td>
					<td>
						<a  name="configResc" style="color: blue;cursor: pointer" title="${role.id }">配置资源</a>&nbsp;&nbsp;
						<a name="configMenu" style="color: blue;cursor: pointer" title="${role.id }">配置菜单</a>
					</td>
				</tr>
			</c:forEach>
		</table>
	</td></tr>
</table>


<!-- 页面底部 -->
<jsp:include page="/commons/foot.jsp"></jsp:include>
</body>
</html>